SUBDIRS = Codigo

.PHONY: all clean

all:
	for dir in $(SUBDIRS); do \
	  $(MAKE) -C $$dir; \
        done

clean:
	for dir in $(SUBDIRS); do \
	  $(MAKE) -C $$dir clean; \
        done
	rm -rf *~ *.bak Codigo/Vista_qt/Vista_qt

doc:
	doxygen

dist: clean
	(cd ..; tar cfz Practica-pei-`date +%d%m%y`.tgz Practica-pei/; mv Practica-pei-`date +%d%m%y`.tgz Practica-pei/)
